package com.parent.child;

public class Animal implements IAnimalable {
	public Animal() {
		init();
		doWork();
		close();
	}

	@Override
	public void close() {
		System.out.println("Animal close");

	}

	@Override
	public void doWork() {
		System.out.println("Animal dowork");

	}

	@Override
	public void init() {
		System.out.println("Animal int");

	}

}
